S

Slack Workspace Agentic Workflow

Triage Message — Slack Workspace Automation Workflow

Understands a Slack message and decides what to do. The LLM picks an action based on role context — SE might create a ticket, Sales might just respond. Zero hardcoded branching.

Available free v1.0.0 Browser
$ sidebutton install Slack Workspace
Download ZIP
slack_triage.yaml

Inputs

type
string
description
The Slack message to triage
type
string
description
Slack channel where the message was posted
default
engineering
type
string
description
Name of the person who posted the message
default
User
type
string
description
Jira project key for ticket creation (e.g. SB, ENG)

Allowed Domains

Unrestricted — no domain lock enforced.

Step Summary

4 steps using step types: control.stopllm.classifyllm.decideworkflow.call .

Workflow Definition

YAML source for the slack_triage.yaml workflow. This is the complete definition executed by the SideButton MCP server when Slack Workspace agents run this automation.

schema_version: 1
version: "1.0.0"
last_verified: "2026-02-08"
id: slack_triage
title: "Triage Message"
description: "Understands a Slack message and decides what to do. The LLM picks an action based on role context — SE might create a ticket, Sales might just respond. Zero hardcoded branching."
category:
  level: task
  domain: ops
  reusable: true
params:
  message:
    type: string
    description: "The Slack message to triage"
  channel:
    type: string
    description: "Slack channel where the message was posted"
    default: "engineering"
  reporter:
    type: string
    description: "Name of the person who posted the message"
    default: "User"
  jira_project:
    type: string
    description: "Jira project key for ticket creation (e.g. SB, ENG)"
steps:
  # Step 1: Understand — what kind of message is this?
  - type: llm.classify
    input: |
      Message from {{reporter}} in #{{channel}}:

      "{{message}}"
    categories:
      - "bug_report"
      - "feature_request"
      - "question"
      - "general"
    as: message_type

  # Step 2: Decide — given who you are, what should you do about it?
  - type: llm.decide
    input: |
      {{reporter}} posted in #{{channel}} (classified as {{message_type}}):

      "{{message}}"
    actions:
      - id: jira_create_from_message
        description: "Create a Jira ticket to track and resolve this issue"
      - id: slack_respond
        description: "Respond to the message without taking further action"
    as: action

  # Step 3: Execute — call whatever the LLM chose
  - type: workflow.call
    workflow: "{{action}}"
    params:
      message: "{{message}}"
      reporter: "{{reporter}}"
      channel: "{{channel}}"
      jira_project: "{{jira_project}}"
    as: result

  - type: control.stop
    message: |
      TRIAGE: {{message_type}}
      ACTION: {{action}}
      RESULT: {{result}}

How To Run

Install the Slack Workspace knowledge pack into your SideButton agent, then dispatch this workflow by its ID slack_triage.yaml. Agents invoke it directly via the MCP protocol or through the portal.